<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>后台管理-版块管理首页</title>
		<link rel="stylesheet" type="text/css" href="__CSS__/secdeal.css">
	</head>
	<body>
		<div>
			<!-- I组 顶部 -->
				<div class="top">
					<img src="__IMG__/tx.jpg" />
					<span class="top-1">论坛后台管理</span>
					<span class="top-2">欢迎您：{:session('uName')}</span>
				</div>
			<!-- I组 导航栏 -->
				<div class="navbar">
					<ul>
						<li><a href="{:url('deal/mesdeal')}">帖子管理</a></li>
						<li><a href="{:url('deal/userdeal')}">用户管理</a></li>
						<li><a href="{:url('deal/secdeal')}">版块管理</a></li>
						<li><a href="{:url('deal/bindeal')}">回收站管理</a></li>
						<li><a href="{:url('advdeal/advdeal')}">广告管理</a></li>
						<li><a href="{:url('advdeal/boxdeal')}">轮播图管理</a></li>
						<li><a href="{:url('admin/apa')}">修改密码</a></li>
						<li><a href="{:url('admin/alogout')}">注销</a></li>
						<li><a href="/mamx28/public/index.php/mamx_forum/Mamx">论坛前台</a></li>
					</ul>
				</div>
			<!-- I组 版块信息搜索 -->
			<div class="seclead">
				<span>版块管理</span>
				<input type="button" value="添加新版块" onclick="window.location.href='{:url('deal/secadd')}'" class="add">
				<form method="post" action="{:url('deal/secdeal',['search' => input('search')])}" class="search">
					<input type="text" name="search" class="search1">
					<input type="submit" value="搜 索" class="search2">
				</form>
			</div>
			<!-- I组 版块信息显示 -->
			<div class="secmessage">
				<table>
					<tr class="mes1">
						<td>版 块 sid</td>
						<td>版 块 名 称</td>
						<td>备 注</td>
						<td>操 作</td>
					</tr>
					{volist name='sec' id='secRow'}
					{if $secRow.sbin==1}
					<tr class="mes2">
						<td>{$secRow.s_id}</td>
						<td>{$secRow.s_name}</td>
						<td>{$secRow.s_remark}</td>
						<td>
							<a href="{:url('deal/secinfo',['sid'=>$secRow.s_id])}" style="color: #629755;">修改</a> | 
							<a href="{:url('deal/secDel',['sid'=>$secRow.s_id])}" style="color: #6E6E6E;">直接删除</a> | 
							<a href="{:url('bindeal/binsecdel',['sid'=>$secRow.s_id])}" style="color: #7279B1;">回收站</a>
						</td>
					</tr>
					{/if}
					{/volist}
				</table>
			</div>
		</div>
	</body>
</html>
